/*******************************************************************************
 * CBNewsViewController.h
 * ComicsBlog
 *
 * Adrien Bougouin <adrien.bougouin@gmail.com>
 */

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#import "../model/CBNews.h"

#define CBNewsBaseURL      @"http://www.comicsblog.fr/"
#define CBNewsWebPageHeader @"<head> <link href=\"http://fonts.googleapis.com/css?family=Francois+One\" rel=\"stylesheet\" type=\"text/css\"><link href=\"http://www.comicsblog.fr/mobile/style_app_iphone.css\" rel=\"StyleSheet\" type=\"text/css\"></head>"

@interface CBNewsViewController : UIViewController <UIWebViewDelegate> {
  @private
    UIWebView *_newsView;
    NSString  *_htmlString;
}

- (id) initWithNews:(CBNews *) news;

@end

